Skip to content

19.0 tutorials viwar#1168

Draft
VIWAR-ODOO wants to merge 28 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-viwar
Draft

19.0 tutorials viwar#1168
VIWAR-ODOO wants to merge 28 commits intoodoo:19.0from
odoo-dev:19.0-tutorials-viwar

Conversation

@VIWAR-ODOO
Copy link

@VIWAR-ODOO VIWAR-ODOO commented Feb 16, 2026

completed till Chapter - 4

  • created a custom module
  • created the folder structure
  • created the model
  • added access rights in the ir.model.access.csv in the security folder

@robodoo
Copy link

robodoo commented Feb 16, 2026

Pull request status dashboard

@VIWAR-ODOO VIWAR-ODOO force-pushed the 19.0-tutorials-viwar branch 2 times, most recently from 5bea8cf to f0b55e5 Compare February 17, 2026 06:42
@VIWAR-ODOO
Copy link
Author

VIWAR-ODOO commented Feb 17, 2026

Chapter - 5 - Done Actions and Menus

  • created action
  • created the menu
  • created the three levels of menu
  • and created the first entry in the property - estate_model

Learned using <data> tag in the XML if we define <data noupdate="1"> then records within it will be loaded when the module is installed, and without the noupdate="1" the records will get reloaded at module install and update.

…values , added default values in fields , and added the functionality to not copy the selling price and date availability while duplicating, added the functionality as default value in the date availability as +3 months from now did that by implementing the add() which takes current date and month=3, add(value: D, *args, **kwargs) → D
@VIWAR-ODOO
Copy link
Author

VIWAR-ODOO commented Feb 18, 2026

Chapter 5 done

  • added active and state field,
  • added the default values for some fields
  • added copy=false property to fields to not copy while duplicating
  • added the the 3months + from now as default date in the date availability field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants